Skip to content

feat: discard ready jobs from the ready jobs page - #51

Merged
vishaltps merged 3 commits into
vishaltps:mainfrom
phmunhoz:feat/discard-ready-jobs
Nov 17, 2026
Merged

vishaltps merged 3 commits into
vishaltps:mainfrom
phmunhoz:feat/discard-ready-jobs

Conversation

@phmunhoz

Copy link
Copy Markdown
Contributor

Add a per-row Discard action and a Discard Selected bulk action, so ready jobs no worker will claim (e.g. left on a renamed queue) can be removed from the UI. Like Discard on Failed Jobs, each job is marked finished and its ready execution deleted.

The ready execution is deleted before anything else, the same way a worker claims a job, so a worker and the dashboard cannot both take a job, on any database including SQLite. A job with a concurrency limit gives back its slot so blocked jobs with the same key can run, and a ready execution whose job row is gone is simply removed.

Add a per-row Discard action and a Discard Selected bulk action, so
ready jobs no worker will claim (e.g. left on a renamed queue) can be
removed from the UI. Like Discard on Failed Jobs, each job is marked
finished and its ready execution deleted.

The ready execution is deleted before anything else, the same way a
worker claims a job, so a worker and the dashboard cannot both take a
job, on any database including SQLite. A job with a concurrency limit
gives back its slot so blocked jobs with the same key can run, and a
ready execution whose job row is gone is simply removed.
@phmunhoz
phmunhoz requested a review from vishaltps as a code owner November 11, 2026 20:51
vishaltps
vishaltps previously approved these changes Nov 16, 2026
Comment thread CHANGELOG.md Resolved
@vishaltps
vishaltps merged commit 4a4b149 into vishaltps:main Nov 17, 2026
3 checks passed
@vishaltps

Copy link
Copy Markdown
Owner

@phmunhoz Thanks for this! It's out in 2.4.0: https://github.com/vishaltps/solid_queue_monitor/releases/tag/v2.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants